package com.mytest.provider.es;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @Author: llq
 * @Date: 2020/4/8
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients
@EnableHystrix
public class EsApplication {
    public static void main(String[] args) {
        try {
            SpringApplication.run(EsApplication.class,args);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
